import { createApp } from 'vue'
import App from './App.vue'
import router from '@renderer/router'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' // pinia持久化存储插件
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 导入全局scss文件
import '@renderer/assets/scss/global.scss'
// 导入tailwindcss
import '@renderer/assets/scss/tailwind.css'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(ElementPlus)
app.use(router)
app.use(pinia)
app.mount('#app')
